package com.inoneone.youba.mcht.dao.mapper;

import com.inoneone.youba.mcht.dao.po.CountByMchRsp;
import com.inoneone.youba.mcht.dao.po.FuelOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExtendOrderMapper {
    /**
     * Description: 统计商户加油和资金数据</br>
     * Date: 2017-06-20 16:18:09</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    List<CountByMchRsp> countByMch(FuelOrderExample example);

    /**
     * Description: 汇总ic卡维度每天加油数据</br>
     * Date: 2017-07-20 00:12:42</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    int collectCardFuel(String dateStr);

    /**
     * Description: 汇总加油机维度每天加油数据</br>
     * Date: 2017-07-20 10:10:27</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    int collectTankerFuel(String dateStr);

    /**
     * Description: 汇总商户维度每天加油机数据</br>
     * Date: 2017-07-20 10:10:40</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    int collectMchFuel(String dateStr);

    /**
     * Description: 汇总ic卡维度每天充值数据</br>
     * Date: 2017-07-20 10:11:05</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    int collectCardCharge(String dateStr);

    /**
     * Description: 汇总商户维度ic卡每天充值数据</br>
     * Date: 2017-07-20 10:11:05</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
     */
    int collectMchCardCharge(String dateStr);
}